var express = require('express');
var router = express.Router();
router.get('/getuser', function (req, res) {
    if(req.session && req.session.user){
        var s=req.session.user || '';
        if(s==""){
            res.send({errorCode:100})
        }else{
            res.send({errorCode:0,data:s})
        }
    }else{
        res.send({errorCode:100})
    }
});
module.exports = router;